package com.zyn.java.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author zhangyanan
 * @description
 * @date 2017/11/3 0003 22:47
 */
@Component
@Slf4j
public class SchedualHystric implements TestClient {

    @Override
    public String say(String name) {
        log.error("the interface has wrong.there are two states: Server has done or Read timed out");
        return "sorry:" + name;
    }
}
